﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xmart.Action
{
    public
        interface IAction
    {
        /// <summary>
        /// NHibernate.ISessionFactory
        /// </summary>
        NHibernate.ISessionFactory SessionFactory { set; }

        /// <summary>
        /// 执行
        /// </summary>
        /// <param name="name"></param>
        /// <param name="args"></param>
        /// <returns></returns>
        IActionResult Execute(string name, params object[] args);
    }
}
